package com.ruoyi.product.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class PageQuery {

    @NotNull(message = "页码不能为空")
    @ApiModelProperty("页码")
    private Integer pageNum;

    @NotNull(message = "页的大小不能为空")
    @ApiModelProperty("页的大小")
    private Integer pageSize;
}
